home *** CD-ROM | disk | FTP | other *** search
- Path: news.lpr.carel.fi!usenet
- From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: I dont want BIOS to get the keystrokes..
- Date: Wed, 20 Mar 1996 15:20:53 +0200
- Organization: Carelcomp Products
- Message-ID: <31500635.5C9E@cmt.lpr.mail.carel.fi>
- References: <4imdph$497@dos.canit.se>
- NNTP-Posting-Host: renoir.cclahti.carel.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Stefan Ottosson wrote:
- >
- > why doesn┤t this work:? ( Borland C++)
-
- [code snipped]
- > what I┤m trying to do is to take over interupt 9h and do nothing until
- > the interupt has been called 30 times, and then return to dos..
- > It works if I call oldhandler() in keyb(), but I dont want to give the
- > keystrokes to BIOS!!
- >
- >
-
- You must reset the interrupt controller after an INT 9 occurs. If I remember
- correctly, you'd need to read the data from the kbd controller, too, so that it will
- be in a known state.
-
- Later,
- AriL
- --
- All my opinions are mine and mine alone.
-